package org.serverct.finalfight.game.listener;

import org.bukkit.Bukkit;
import org.serverct.finalfight.FinalFight;
import org.serverct.finalfight.game.listener.gui.SpectatorGuiListener;
import org.serverct.finalfight.game.listener.player.*;

public class GameListener {
    public static void initialize() {
        Bukkit.getPluginManager().registerEvents(new SpectatorGuiListener(), FinalFight.plugin);

        Bukkit.getPluginManager().registerEvents(new BuildListener(), FinalFight.plugin);
        Bukkit.getPluginManager().registerEvents(new DamageListener(), FinalFight.plugin);
        Bukkit.getPluginManager().registerEvents(new DeathListener(), FinalFight.plugin);
        Bukkit.getPluginManager().registerEvents(new LogoutListener(), FinalFight.plugin);
        Bukkit.getPluginManager().registerEvents(new ModeListener(), FinalFight.plugin);
    }
}
